<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class EvaluationQrcode extends TimeModel
{

//    protected $name = "evaluation_qrcode";

    protected $deleteTime = "delete_time";
    protected $json = ['student_arr'];
    // 设置JSON数据返回数组
    protected $jsonAssoc = true;
    public function systemAdmin()
    {
        return $this->belongsTo('\app\admin\model\SystemAdmin', 'qr_user_id', 'id');
    }
    public function evaluationTemplate()
    {
        return $this->belongsTo('\app\admin\model\EvaluationTemplate', 'template_id', 'id');
    }

}